<?php
/**
 * 唯品团 验证码
 */


require(ROOT_PATH . 'includes/cls_captcha.php');

$img = new captcha(ROOT_PATH . 'data/captcha/', '50', '20');
@ob_end_clean(); //清除之前出现的多余输入
if (isset($_REQUEST['is_login']))
{
	$img->session_word = 'captcha_login';
}

$img->generate_image();
exit;
?>